import request from '@/utils/request'

// 获取我的合计统计
export function paySum() {
	return request({
		url: '/pay/sum',
		method: 'get'
	})
}

// 获取提现记录
export function userExtractList() {
	return request({
		url: '/extract/userExtractList',
		method: 'get'
	})
}

// 获取支付宝账户
export function userAliAcc() {
	return request({
		url: '/user/aliacc',
		method: 'get'
	})
}

// 修改支付宝账户
export function putUserAliPay(data) {
 return request({
 	url: '/user/updateAliacc',
 	method: 'post',
 	data: data
 })
}

// 获取可提现账单
export function tiXianList() {
 return request({
 	url: '/extract/tiXianList',
 	method: 'get'
 })
}

// 提现操作
export function userTx() {
 return request({
 	url: '/extract/userTx',
 	method: 'get'
 })
}

// 获取可摇红包数量
export function redPacketCount() {
 return request({
 	url: '/pay/redPacketCount',
 	method: 'get'
 })
}

// 摇红包
export function usrp() {
 return request({
 	url: '/earnings/usrp',
 	method: 'get'
 })
}


